package com.ahaoyou.job.task;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author LH
 * @create 2022/3/9 19:45
 */
@Slf4j
@Component("task")
public class TestTask {

    public void notParams() {
        log.info("invoke notParamsMethod  (执行无参方法)");
    }

    public void multipleParams(String s, Boolean b, Long l, Double d, Integer i) {
        log.info("执行多参方法： 字符串类型{}，布尔类型{}，长整型{}，浮点型{}，整形{}", s, b, l, d, i);
    }

    public void params(String params) {
        log.info("执行有参方法：" + params);
    }
}
